package me.zingon.doc.dao;

import me.zingon.doc.model.UserProject;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* Created by ZTCGenerator<zingon@aliyun.com> on 2018-5-31.
*/
public interface UserProjectDao {

    int insert(UserProject userProject);

    int delete(UserProject userProject);

    int deleteByIds(@Param("ids") Integer[] ids);

    int update(UserProject userProject);

    UserProject getById(@Param("id") Integer id);

    List<UserProject> list(UserProject userProject);

    int updateByProjectId(UserProject userProject);
}